[POWERPC][XEN] Move shared page location to public header to share with libxc.
authorHollis Blanchard <hollisb@us.ibm.com>
Tue, 6 Feb 2007 19:42:19 +0000 (13:42 -0600)
committerHollis Blanchard <hollisb@us.ibm.com>
Tue, 6 Feb 2007 19:42:19 +0000 (13:42 -0600)
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
--HG--
extra : transplant_source : %AF%17%E1%F5%1D%23%B3%B3%1CF%B4%AC%F4%84%D3%A4s%EB%BB%F4

xen/arch/powerpc/domain_build.c
xen/arch/powerpc/mm.c
xen/include/asm-powerpc/domain.h
xen/include/public/arch-powerpc.h

index f13186548a702e0e6ecb5dac1cce43991f0c760a..ee95b2a1b66db04f43306ba97aaf009940b18adb 100644 (file)
@@ -30,6 +30,7 @@
 #include <xen/version.h>
 #include <asm/processor.h>
 #include <asm/papr.h>
+#include <public/arch-powerpc.h>
 #include "oftree.h"
 
 extern int parseelfimage_32(struct domain_setup_info *dsi);
index 2a9499825ab6fe9d75b16964819a5aa8fd1b0813..ab83d09b558ea3075ebd6279f020157e35ece759 100644 (file)
@@ -28,6 +28,7 @@
 #include <asm/init.h>
 #include <asm/page.h>
 #include <asm/string.h>
+#include <public/arch-powerpc.h>
 
 #ifdef VERBOSE
 #define MEM_LOG(_f, _a...)                                  \
index 50f999c2813e7df656e824848e25ae9ff9025cac..367c90414ccd257228d110caffe1e14a570a7c6e 100644 (file)
@@ -107,13 +107,6 @@ extern void load_segments(struct vcpu *);
 extern void save_float(struct vcpu *);
 extern void load_float(struct vcpu *);
 
-#define RMA_SHARED_INFO 1
-#define RMA_START_INFO 2
-#define RMA_LAST_DOM0 2
-/* these are not used for dom0 so they should be last */
-#define RMA_CONSOLE 3
-#define RMA_LAST_DOMU 3
-
 #define rma_size(rma_order) (1UL << ((rma_order) + PAGE_SHIFT))
 
 static inline ulong rma_addr(struct arch_domain *ad, int type)
index 9ef33c502c67d46264dc6403f33a49d478bcd8d2..add1d4ce2ffbb2cf65bc5cf767d469f2fa57c64f 100644 (file)
@@ -117,6 +117,14 @@ struct arch_shared_info {
 struct arch_vcpu_info {
 };
 
+#define RMA_SHARED_INFO 1
+#define RMA_START_INFO 2
+#define RMA_LAST_DOM0 2
+/* these are not used for dom0 so they should be last */
+#define RMA_CONSOLE 3
+#define RMA_STORE 4
+#define RMA_LAST_DOMU 4
+
 /* Support for multi-processor guests. */
 #define MAX_VIRT_CPUS 32
 #endif